<template>
  <el-form :inline="true" class="flex flex-wrap">
    <el-form-item label="">
      <el-input v-model="searchKey" placeholder="" size="small"></el-input>
    </el-form-item>
    <el-form-item label="">
      <el-button @click.prevent="$emit('on-search')" size="small" type="primary"
        >搜索</el-button
      >
    </el-form-item>
    <el-form-item label="">
      <el-button type="primary" size="small" @click="$emit('on-add')"
        >添加群组</el-button
      >
    </el-form-item>
  </el-form>
</template>

<script>
// import typeSelect from "@/components/type-select.vue";
export default {
  // components: {  typeSelect },
  data() {
    return {
      searchKey: "",
    };
  },
  computed: {
    isSupervise() {
      return this.$store.getters.isSupervise;
    },
    conditions() {
      let obj = {
        ...this.$data,
      };
      return obj;
    },
  },
  created() {
    // this.axios.get("/department-options").then((res) => {
    //   this.dep_options = res.data;
    // });
  },
  methods: {},
};
</script>

<style lang='scss' scoped>
</style>